<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: SkyEngine2d::ActionSequence类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>SkyEngine2d</b></li><li class="navelem"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html">ActionSequence</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_sky_engine2d_1_1_action_sequence-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SkyEngine2d::ActionSequence类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>序列动作  
 <a href="class_sky_engine2d_1_1_action_sequence.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_action_interval_8h_source.html">ActionInterval.h</a>&gt;</code></p>
<div class="dynheader">
类 SkyEngine2d::ActionSequence 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_sky_engine2d_1_1_action_sequence.png" usemap="#SkyEngine2d::ActionSequence_map" alt=""/>
  <map id="SkyEngine2d::ActionSequence_map" name="SkyEngine2d::ActionSequence_map">
<area href="class_sky_engine2d_1_1_action_interval.html" title="有限时间动作" alt="SkyEngine2d::ActionInterval" shape="rect" coords="123,168,359,192"/>
<area href="class_sky_engine2d_1_1_action_time.html" title="时间相关的动作的基类" alt="SkyEngine2d::ActionTime" shape="rect" coords="123,112,359,136"/>
<area href="class_sky_engine2d_1_1_action.html" title="动作基类" alt="SkyEngine2d::Action" shape="rect" coords="123,56,359,80"/>
<area href="class_sky_engine2d_1_1_non_copyable.html" title="不可拷贝对象的基类" alt="SkyEngine2d::NonCopyable" shape="rect" coords="246,0,482,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aeacf38f59afbad8f131fb311c48eeaf9"><td class="memItemLeft" align="right" valign="top"><a id="aeacf38f59afbad8f131fb311c48eeaf9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#aeacf38f59afbad8f131fb311c48eeaf9">~ActionSequence</a> ()</td></tr>
<tr class="memdesc:aeacf38f59afbad8f131fb311c48eeaf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:aeacf38f59afbad8f131fb311c48eeaf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeb89b2bcedd59595a0ebf0f530152d9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#aeeb89b2bcedd59595a0ebf0f530152d9">update</a> (float t) override</td></tr>
<tr class="memdesc:aeeb89b2bcedd59595a0ebf0f530152d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新动画  <a href="#aeeb89b2bcedd59595a0ebf0f530152d9">更多...</a><br /></td></tr>
<tr class="separator:aeeb89b2bcedd59595a0ebf0f530152d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91e78fb9414b467887840ef43d9008e6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#a91e78fb9414b467887840ef43d9008e6">stop</a> () override</td></tr>
<tr class="memdesc:a91e78fb9414b467887840ef43d9008e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止动画  <a href="#a91e78fb9414b467887840ef43d9008e6">更多...</a><br /></td></tr>
<tr class="separator:a91e78fb9414b467887840ef43d9008e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cfc6ba9a86d9a8551ed71410f40111b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#a1cfc6ba9a86d9a8551ed71410f40111b">isDone</a> () const override</td></tr>
<tr class="memdesc:a1cfc6ba9a86d9a8551ed71410f40111b"><td class="mdescLeft">&#160;</td><td class="mdescRight">动画是播放完毕  <a href="#a1cfc6ba9a86d9a8551ed71410f40111b">更多...</a><br /></td></tr>
<tr class="separator:a1cfc6ba9a86d9a8551ed71410f40111b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_action_interval"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_action_interval')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_action_interval.html">SkyEngine2d::ActionInterval</a></td></tr>
<tr class="memitem:a0dd90a6406a38fb81a576f658f671da5 inherit pub_methods_class_sky_engine2d_1_1_action_interval"><td class="memItemLeft" align="right" valign="top"><a id="a0dd90a6406a38fb81a576f658f671da5"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>getElapsed</b> ()</td></tr>
<tr class="separator:a0dd90a6406a38fb81a576f658f671da5 inherit pub_methods_class_sky_engine2d_1_1_action_interval"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3441881f6624ffd79d93ecdd74b80caf inherit pub_methods_class_sky_engine2d_1_1_action_interval"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_interval.html#a3441881f6624ffd79d93ecdd74b80caf">step</a> (float dt) override</td></tr>
<tr class="memdesc:a3441881f6624ffd79d93ecdd74b80caf inherit pub_methods_class_sky_engine2d_1_1_action_interval"><td class="mdescLeft">&#160;</td><td class="mdescRight">执行一步动画  <a href="class_sky_engine2d_1_1_action_interval.html#a3441881f6624ffd79d93ecdd74b80caf">更多...</a><br /></td></tr>
<tr class="separator:a3441881f6624ffd79d93ecdd74b80caf inherit pub_methods_class_sky_engine2d_1_1_action_interval"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_action_time"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_action_time')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_action_time.html">SkyEngine2d::ActionTime</a></td></tr>
<tr class="memitem:a7e91555643af1fb1dc528738756f923a inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_time.html#a7e91555643af1fb1dc528738756f923a">ActionTime</a> (float duration)</td></tr>
<tr class="memdesc:a7e91555643af1fb1dc528738756f923a inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造  <a href="class_sky_engine2d_1_1_action_time.html#a7e91555643af1fb1dc528738756f923a">更多...</a><br /></td></tr>
<tr class="separator:a7e91555643af1fb1dc528738756f923a inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e4f07ef217e9fc21af567b5ab37293c inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memItemLeft" align="right" valign="top"><a id="a0e4f07ef217e9fc21af567b5ab37293c"></a>
ActionTimeSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><b>convertToActionTimeSharedPtr</b> ()</td></tr>
<tr class="separator:a0e4f07ef217e9fc21af567b5ab37293c inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af716bb1e91b7abe6be4afc7db353b1d1 inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memItemLeft" align="right" valign="top"><a id="af716bb1e91b7abe6be4afc7db353b1d1"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_time.html#af716bb1e91b7abe6be4afc7db353b1d1">~ActionTime</a> ()</td></tr>
<tr class="memdesc:af716bb1e91b7abe6be4afc7db353b1d1 inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:af716bb1e91b7abe6be4afc7db353b1d1 inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21bf13011f4a33b0245cc90c2c5d4327 inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_time.html#a21bf13011f4a33b0245cc90c2c5d4327">getDuration</a> ()</td></tr>
<tr class="memdesc:a21bf13011f4a33b0245cc90c2c5d4327 inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前动画的总执行时间  <a href="class_sky_engine2d_1_1_action_time.html#a21bf13011f4a33b0245cc90c2c5d4327">更多...</a><br /></td></tr>
<tr class="separator:a21bf13011f4a33b0245cc90c2c5d4327 inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a494cfdff7177724c6e7d25910dc0a5cd inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_time.html#a494cfdff7177724c6e7d25910dc0a5cd">setDuration</a> (float duration)</td></tr>
<tr class="memdesc:a494cfdff7177724c6e7d25910dc0a5cd inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前动画的总执行时间  <a href="class_sky_engine2d_1_1_action_time.html#a494cfdff7177724c6e7d25910dc0a5cd">更多...</a><br /></td></tr>
<tr class="separator:a494cfdff7177724c6e7d25910dc0a5cd inherit pub_methods_class_sky_engine2d_1_1_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_action"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_action')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_action.html">SkyEngine2d::Action</a></td></tr>
<tr class="memitem:a79c7fd06d97f3652baf4e070e7678bde inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top"><a id="a79c7fd06d97f3652baf4e070e7678bde"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#a79c7fd06d97f3652baf4e070e7678bde">~Action</a> ()</td></tr>
<tr class="memdesc:a79c7fd06d97f3652baf4e070e7678bde inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:a79c7fd06d97f3652baf4e070e7678bde inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab175870733f2e9e33c5affa3ac57829c inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#ab175870733f2e9e33c5affa3ac57829c">runWithTarget</a> (<a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target, bool <a class="el" href="class_sky_engine2d_1_1_action.html#a22b3c0064a6a9b883b5c9e0257161d1e">isSuspend</a>=false)</td></tr>
<tr class="memdesc:ab175870733f2e9e33c5affa3ac57829c inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动一个动画  <a href="class_sky_engine2d_1_1_action.html#ab175870733f2e9e33c5affa3ac57829c">更多...</a><br /></td></tr>
<tr class="separator:ab175870733f2e9e33c5affa3ac57829c inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae25065d388654d0e74f1ce5a32d1a366 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">ActionSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#ae25065d388654d0e74f1ce5a32d1a366">convertToActionSharedPtr</a> ()</td></tr>
<tr class="memdesc:ae25065d388654d0e74f1ce5a32d1a366 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">转换为 <a class="el" href="class_sky_engine2d_1_1_action.html" title="动作基类">Action</a> 指针  <a href="class_sky_engine2d_1_1_action.html#ae25065d388654d0e74f1ce5a32d1a366">更多...</a><br /></td></tr>
<tr class="separator:ae25065d388654d0e74f1ce5a32d1a366 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78521adfa74b513d9b7a4a0281798a89 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#a78521adfa74b513d9b7a4a0281798a89">reverse</a> ()</td></tr>
<tr class="memdesc:a78521adfa74b513d9b7a4a0281798a89 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">重置动画  <a href="class_sky_engine2d_1_1_action.html#a78521adfa74b513d9b7a4a0281798a89">更多...</a><br /></td></tr>
<tr class="separator:a78521adfa74b513d9b7a4a0281798a89 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b024c03a47f64f36eb7ee6f23b329c5 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">const std::wstring &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#a4b024c03a47f64f36eb7ee6f23b329c5">getName</a> () const</td></tr>
<tr class="memdesc:a4b024c03a47f64f36eb7ee6f23b329c5 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取动画的名字  <a href="class_sky_engine2d_1_1_action.html#a4b024c03a47f64f36eb7ee6f23b329c5">更多...</a><br /></td></tr>
<tr class="separator:a4b024c03a47f64f36eb7ee6f23b329c5 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d53176a0a633929f6043cd5138feb4 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#ab7d53176a0a633929f6043cd5138feb4">setName</a> (const std::wstring &amp;tag)</td></tr>
<tr class="memdesc:ab7d53176a0a633929f6043cd5138feb4 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置动画的名字  <a href="class_sky_engine2d_1_1_action.html#ab7d53176a0a633929f6043cd5138feb4">更多...</a><br /></td></tr>
<tr class="separator:ab7d53176a0a633929f6043cd5138feb4 inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22b3c0064a6a9b883b5c9e0257161d1e inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#a22b3c0064a6a9b883b5c9e0257161d1e">isSuspend</a> () const</td></tr>
<tr class="memdesc:a22b3c0064a6a9b883b5c9e0257161d1e inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">动画是否被挂起  <a href="class_sky_engine2d_1_1_action.html#a22b3c0064a6a9b883b5c9e0257161d1e">更多...</a><br /></td></tr>
<tr class="separator:a22b3c0064a6a9b883b5c9e0257161d1e inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0afb81516fdec22fff890c402fd85bf inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#ad0afb81516fdec22fff890c402fd85bf">suspend</a> ()</td></tr>
<tr class="memdesc:ad0afb81516fdec22fff890c402fd85bf inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">挂起动画  <a href="class_sky_engine2d_1_1_action.html#ad0afb81516fdec22fff890c402fd85bf">更多...</a><br /></td></tr>
<tr class="separator:ad0afb81516fdec22fff890c402fd85bf inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a697259403747278917825acabac84c1f inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#a697259403747278917825acabac84c1f">resume</a> ()</td></tr>
<tr class="memdesc:a697259403747278917825acabac84c1f inherit pub_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">恢复动画  <a href="class_sky_engine2d_1_1_action.html#a697259403747278917825acabac84c1f">更多...</a><br /></td></tr>
<tr class="separator:a697259403747278917825acabac84c1f inherit pub_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_non_copyable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_non_copyable')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">SkyEngine2d::NonCopyable</a></td></tr>
<tr class="memitem:a570a18a8e326ce10a33915dffdc2b23e inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a570a18a8e326ce10a33915dffdc2b23e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (const <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a570a18a8e326ce10a33915dffdc2b23e inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21e0c7e1d6da8e9a27f6b6d8087e46a inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="ac21e0c7e1d6da8e9a27f6b6d8087e46a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:ac21e0c7e1d6da8e9a27f6b6d8087e46a inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fdd4955d223d165a4fbe84f5c4690b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a9fdd4955d223d165a4fbe84f5c4690b5"></a>
<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a9fdd4955d223d165a4fbe84f5c4690b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1397ae519173378b37ad622d148be3b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a1397ae519173378b37ad622d148be3b5"></a>
<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="class_sky_engine2d_1_1_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:a1397ae519173378b37ad622d148be3b5 inherit pub_methods_class_sky_engine2d_1_1_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ae87a932cdd9f04353eb7d44723aa2bee"><td class="memItemLeft" align="right" valign="top">static ActionSequenceSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#ae87a932cdd9f04353eb7d44723aa2bee">create</a> (const std::vector&lt; ActionTimeSharedPtr &gt; &amp;actions)</td></tr>
<tr class="memdesc:ae87a932cdd9f04353eb7d44723aa2bee"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建动画的序列  <a href="#ae87a932cdd9f04353eb7d44723aa2bee">更多...</a><br /></td></tr>
<tr class="separator:ae87a932cdd9f04353eb7d44723aa2bee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c6250e2624e5d369750a4a314f5c17"><td class="memItemLeft" align="right" valign="top">static ActionSequenceSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#ae9c6250e2624e5d369750a4a314f5c17">create</a> (const ActionTimeSharedPtr &amp;first, const ActionTimeSharedPtr &amp;second)</td></tr>
<tr class="memdesc:ae9c6250e2624e5d369750a4a314f5c17"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建两个动画的序列  <a href="#ae9c6250e2624e5d369750a4a314f5c17">更多...</a><br /></td></tr>
<tr class="separator:ae9c6250e2624e5d369750a4a314f5c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a5be293549bf32f0e460ba75006057651"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#a5be293549bf32f0e460ba75006057651">startWithTarget</a> (<a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *target) override</td></tr>
<tr class="memdesc:a5be293549bf32f0e460ba75006057651"><td class="mdescLeft">&#160;</td><td class="mdescRight">目标开始执行这个动画  <a href="#a5be293549bf32f0e460ba75006057651">更多...</a><br /></td></tr>
<tr class="separator:a5be293549bf32f0e460ba75006057651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a731e151101e60bc3fdf44e67167cf5bf"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_sequence.html#a731e151101e60bc3fdf44e67167cf5bf">setActionTarget</a> (<a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *obj) override</td></tr>
<tr class="memdesc:a731e151101e60bc3fdf44e67167cf5bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置动画的执行目标  <a href="#a731e151101e60bc3fdf44e67167cf5bf">更多...</a><br /></td></tr>
<tr class="separator:a731e151101e60bc3fdf44e67167cf5bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_sky_engine2d_1_1_action"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_sky_engine2d_1_1_action')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_action.html">SkyEngine2d::Action</a></td></tr>
<tr class="memitem:a835acd233b61a32d9e6ba14e251e66a2 inherit pro_methods_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top"><a id="a835acd233b61a32d9e6ba14e251e66a2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#a835acd233b61a32d9e6ba14e251e66a2">Action</a> ()</td></tr>
<tr class="memdesc:a835acd233b61a32d9e6ba14e251e66a2 inherit pro_methods_class_sky_engine2d_1_1_action"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 <br /></td></tr>
<tr class="separator:a835acd233b61a32d9e6ba14e251e66a2 inherit pro_methods_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_class_sky_engine2d_1_1_action_interval"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_sky_engine2d_1_1_action_interval')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_sky_engine2d_1_1_action_interval.html">SkyEngine2d::ActionInterval</a></td></tr>
<tr class="memitem:a6b32d1774bc2635ff69f196fc50a0f54 inherit pro_attribs_class_sky_engine2d_1_1_action_interval"><td class="memItemLeft" align="right" valign="top"><a id="a6b32d1774bc2635ff69f196fc50a0f54"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_firstRunFlag</b></td></tr>
<tr class="separator:a6b32d1774bc2635ff69f196fc50a0f54 inherit pro_attribs_class_sky_engine2d_1_1_action_interval"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa433b194ba6a86de761e68ede97c6243 inherit pro_attribs_class_sky_engine2d_1_1_action_interval"><td class="memItemLeft" align="right" valign="top"><a id="aa433b194ba6a86de761e68ede97c6243"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>m_elapsed</b></td></tr>
<tr class="separator:aa433b194ba6a86de761e68ede97c6243 inherit pro_attribs_class_sky_engine2d_1_1_action_interval"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_sky_engine2d_1_1_action_time"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_sky_engine2d_1_1_action_time')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_sky_engine2d_1_1_action_time.html">SkyEngine2d::ActionTime</a></td></tr>
<tr class="memitem:abf68ef8ba4cc9432c3c5dcd5c93d552e inherit pro_attribs_class_sky_engine2d_1_1_action_time"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action_time.html#abf68ef8ba4cc9432c3c5dcd5c93d552e">m_duration</a></td></tr>
<tr class="separator:abf68ef8ba4cc9432c3c5dcd5c93d552e inherit pro_attribs_class_sky_engine2d_1_1_action_time"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_sky_engine2d_1_1_action"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_sky_engine2d_1_1_action')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_sky_engine2d_1_1_action.html">SkyEngine2d::Action</a></td></tr>
<tr class="memitem:a1a1b2a846eaf291ec2f908e8b8e49c09 inherit pro_attribs_class_sky_engine2d_1_1_action"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_action.html#a1a1b2a846eaf291ec2f908e8b8e49c09">m_isDone</a></td></tr>
<tr class="separator:a1a1b2a846eaf291ec2f908e8b8e49c09 inherit pro_attribs_class_sky_engine2d_1_1_action"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>序列动作 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ae87a932cdd9f04353eb7d44723aa2bee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae87a932cdd9f04353eb7d44723aa2bee">&#9670;&nbsp;</a></span>create() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ActionSequenceSharedPtr SkyEngine2d::ActionSequence::create </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; ActionTimeSharedPtr &gt; &amp;&#160;</td>
          <td class="paramname"><em>actions</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建动画的序列 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::vector&lt;ActionTimeSharedPtr&gt; &amp; actions 需要序列执行的动画数组 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ActionSequenceSharedPtr </dd></dl>

</div>
</div>
<a id="ae9c6250e2624e5d369750a4a314f5c17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9c6250e2624e5d369750a4a314f5c17">&#9670;&nbsp;</a></span>create() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ActionSequenceSharedPtr SkyEngine2d::ActionSequence::create </td>
          <td>(</td>
          <td class="paramtype">const ActionTimeSharedPtr &amp;&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ActionTimeSharedPtr &amp;&#160;</td>
          <td class="paramname"><em>second</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建两个动画的序列 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>ActionTimeSharedPtr &amp; first 第一个动画 </td></tr>
    <tr><td class="paramname">const</td><td>ActionTimeSharedPtr &amp; second 第二个动画 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ActionSequenceSharedPtr </dd></dl>

</div>
</div>
<a id="a1cfc6ba9a86d9a8551ed71410f40111b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cfc6ba9a86d9a8551ed71410f40111b">&#9670;&nbsp;</a></span>isDone()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SkyEngine2d::ActionSequence::isDone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>动画是播放完毕 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

<p>重载 <a class="el" href="class_sky_engine2d_1_1_action_interval.html#a8b715375e21f9982112f2c0c9f62500e">SkyEngine2d::ActionInterval</a> .</p>

</div>
</div>
<a id="a731e151101e60bc3fdf44e67167cf5bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a731e151101e60bc3fdf44e67167cf5bf">&#9670;&nbsp;</a></span>setActionTarget()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SkyEngine2d::ActionSequence::setActionTarget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置动画的执行目标 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;IActableObject&gt;&amp; obj 目标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool 如果该目标无法执行动画，则返回 false </dd></dl>

<p>实现了 <a class="el" href="class_sky_engine2d_1_1_action.html#a6c595c2adff3843fc822983dd44cc0db">SkyEngine2d::Action</a>.</p>

</div>
</div>
<a id="a5be293549bf32f0e460ba75006057651"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5be293549bf32f0e460ba75006057651">&#9670;&nbsp;</a></span>startWithTarget()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SkyEngine2d::ActionSequence::startWithTarget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_i_actable_object.html">IActableObject</a> *&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>目标开始执行这个动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::shared_ptr&lt;IActableObject&gt;&amp; target </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool 如果开始失败，则返回 false 可能是当前对象不支持执行该类型的动画 </dd></dl>

<p>重载 <a class="el" href="class_sky_engine2d_1_1_action.html#a40ef29a9996866687f14481b688a6524">SkyEngine2d::Action</a> .</p>

</div>
</div>
<a id="a91e78fb9414b467887840ef43d9008e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91e78fb9414b467887840ef43d9008e6">&#9670;&nbsp;</a></span>stop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::ActionSequence::stop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>停止动画 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>重载 <a class="el" href="class_sky_engine2d_1_1_action.html#a8d8b5023d85273d1415f8e0f23360230">SkyEngine2d::Action</a> .</p>

</div>
</div>
<a id="aeeb89b2bcedd59595a0ebf0f530152d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeeb89b2bcedd59595a0ebf0f530152d9">&#9670;&nbsp;</a></span>update()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::ActionSequence::update </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>ratio</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>更新动画 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">float</td><td>ratio 动画当前的进度 值为 （0，1） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>重载 <a class="el" href="class_sky_engine2d_1_1_action.html#afd8c1017464dbc673c52fec49c7a96d8">SkyEngine2d::Action</a> .</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/action/<a class="el" href="_action_interval_8h_source.html">ActionInterval.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
